export default `/*自定义样式，实时生效*/

/**全局设置**/
#nice {
  font-size: 16px;
  margin: 20px 0;
  color: #2c3e50;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0.3px;
}
#nice p {
  line-height: 1.8;
  font-size: 16px;
  margin: 8px 0;
  color: #34495e;
}
#nice p + p {
  margin: 20px 0 8px 0;
}
#nice a {
  color: #3498db;
  border-bottom: 1px solid rgba(52, 152, 219, 0.3);
  text-decoration: none;
  font-weight: normal;
  transition: all 0.3s ease;
}
#nice a:hover {
  color: #2980b9;
  border-bottom-color: #2980b9;
}
#nice a span {
  color: #3498db;
  border-bottom: 1px solid rgba(52, 152, 219, 0.3);
}

/**TOC**/
#nice .table-of-contents li {
  font-size: 15px;
  color: #34495e;
}

/**图片**/
#nice img {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin: 20px auto;
  transition: all 0.3s ease;
}
#nice img:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
#nice figcaption,
#nice .imageflow-caption {
  font-size: 13px;
  color: #7f8c8d;
  margin: 8px 0 16px;
  text-align: center;
}

/**标题**/
#nice h1,
#nice h2,
#nice h3,
#nice h4,
#nice h5,
#nice h6 {
  margin: 32px auto 24px;
  line-height: 1.4;
  color: #2c3e50;
  font-weight: 600;
}

#nice h2 {
  font-size: 24px;
  text-align: left;
  font-weight: 600;
  margin: 48px 0 32px;
  padding: 12px 20px;
  position: relative;
  line-height: 1.4;
  background: linear-gradient(to right, #f8f9fa, #fff);
  border-radius: 0 4px 4px 0;
  border-left: 4px solid #3498db;
  word-wrap: break-word;
  hyphens: auto;
}

#nice h3 {
  font-size: 20px;
  padding-left: 12px;
  border-left: 3px solid #3498db;
  margin: 32px 0 16px;
}

#nice h4 {
  font-size: 18px;
  color: #34495e;
  margin: 24px 0 12px;
  font-weight: 500;
}

#nice h5,
#nice h6 {
  font-size: 16px;
  color: #34495e;
  margin: 20px 0 10px;
  font-weight: 500;
}

/**列表**/
#nice > ul, #nice > ol {
  margin: 16px 0;
  padding-left: 24px;
}
#nice .table-of-contents > ul,
#nice .table-of-contents > ol {
  border: 1px solid #ecf0f1;
  border-radius: 8px;
  font-size: 15px;
  padding: 16px 16px 16px 32px;
  background: #f8f9fa;
}
#nice > ul > li, #nice > ol > li {
  margin: 8px 0;
  color: #34495e;
}
#nice > ul > li::marker {
  color: #3498db;
}
#nice > ol > li::marker {
  color: #3498db;
}

/**引用**/
#nice blockquote {
  color: #34495e;
  border-left: none;
  font-style: normal;
  font-size: 15px;
  position: relative;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
}
#nice > blockquote {
  border-left: 4px solid #3498db;
}
#nice blockquote p {
  font-size: 15px;
  margin: 0;
  color: #34495e;
}
#nice blockquote::before {
  font-family: "Times New Roman", serif;
  content: "“";
  color: #3498db;
  font-size: 36px;
  font-weight: bold;
  position: absolute;
  left: 12px;
  top: 8px;
  opacity: 0.3;
}

/**代码**/
#nice p code, #nice li code {
  padding: 2px 6px;
  font-size: 90%;
  color: #e74c3c;
  background-color: #f8f9fa;
  border-radius: 4px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
#nice pre {
  margin: 20px 0;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  overflow-x: auto;
}

/**表格**/
#nice table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}
#nice table tr th,
#nice table tr td {
  padding: 12px 16px;
  border: 1px solid #ecf0f1;
}
#nice table tr th {
  background: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
}
#nice table tr td {
  color: #34495e;
}
#nice table tr:nth-child(even) {
  background: #f8f9fa;
}

/**参考资料**/
#nice .footnote-item p,
#nice .footnote-num {
  font-size: 14px;
  color: #7f8c8d;
}
#nice .footnotes-sep {
  margin: 24px 0 16px;
  font-weight: 600;
  font-size: 16px;
  color: #2c3e50;
}
#nice .footnote-word {
  color: #3498db;
  font-weight: normal;
}
#nice .footnote-ref {
  font-weight: normal;
  color: #3498db;
}
#nice .footnote-item p em {
  font-style: normal;
  border-bottom: 1px dashed #bdc3c7;
  margin-left: 2px;
}

/**响应式调整**/
@media screen and (max-width: 768px) {
  #nice {
    font-size: 15px;
  }
  
  #nice p {
    font-size: 15px;
  }
  
  #nice h2 {
    font-size: 20px;
    padding: 10px 16px;
    margin: 32px 0 24px;
  }
  
  #nice h3 {
    font-size: 18px;
    padding-left: 10px;
    margin: 28px 0 14px;
  }
  
  #nice h4 {
    font-size: 17px;
    margin: 22px 0 11px;
  }
  
  #nice h5,
  #nice h6 {
    font-size: 15px;
    margin: 18px 0 9px;
  }
  
  #nice blockquote {
    font-size: 14px;
    padding: 14px 18px;
  }
  
  #nice blockquote p {
    font-size: 14px;
  }
  
  #nice table tr th,
  #nice table tr td {
    padding: 10px 14px;
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  #nice {
    font-size: 14px;
  }
  
  #nice p {
    font-size: 14px;
  }
  
  #nice h2 {
    font-size: 18px;
    padding: 8px 12px;
    margin: 24px 0 20px;
  }
  
  #nice h3 {
    font-size: 16px;
    padding-left: 8px;
    margin: 24px 0 12px;
  }
  
  #nice h4 {
    font-size: 15px;
    margin: 20px 0 10px;
  }
  
  #nice h5,
  #nice h6 {
    font-size: 14px;
    margin: 16px 0 8px;
  }
  
  #nice blockquote {
    font-size: 13px;
    padding: 12px 16px;
  }
  
  #nice blockquote p {
    font-size: 13px;
  }
  
  #nice table tr th,
  #nice table tr td {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  #nice .table-of-contents > ul,
  #nice .table-of-contents > ol {
    font-size: 13px;
    padding: 12px 12px 12px 24px;
  }
  
  /** 文章结尾 **/
#nice:after{
  content:<img src="https://www.xugj520.cn/wp-content/uploads/2025/04/扫码_搜索联合传播样式-标准色版-300x109.png" />;
  font-size:10px;
  display:block;
  text-align:center;
  margin-top:50px;
  color:#999;
  border-bottom:1px solid #eee;
}
}
`;